home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD ROM Paradise Collection 4
/
CD ROM Paradise Collection 4 1995 Nov.iso
/
os2
/
adaptor.zip
/
ADAPT.ZIP
/
adaptor
/
src
/
include
/
general.h
< prev
next >
Wrap
C/C++ Source or Header
|
1993-03-22
|
1KB
|
46 lines
# ifndef yyGeneral
# define yyGeneral
/* $Id: General.h,v 1.4 1991/11/21 14:28:16 grosch rel $ */
/* $Log: General.h,v $
* Revision 1.4 1991/11/21 14:28:16 grosch
* new version of RCS on SPARC
*
* Revision 1.3 91/07/17 17:23:06 grosch
* introduced ARGS trick for ANSI compatibility
*
* Revision 1.2 90/09/04 17:32:09 grosch
* automatic determination of alignment
*
* Revision 1.1 90/07/04 14:33:54 grosch
* introduced conditional include
*
* Revision 1.0 88/10/04 11:44:37 grosch
* Initial revision
*
*/
/* Ich, Doktor Josef Grosch, Informatiker, Sept. 1987 */
# include "ratc.h"
# ifdef __STDC__
# define ARGS(parameters) parameters
# else
# define ARGS(parameters) ()
# endif
# define Min(a,b) ((a <= b) ? a : b)
# define Max(a,b) ((a >= b) ? a : b)
extern cardinal Log2 ARGS((register unsigned long x));
/* Returns the logarithm to the base 2 of 'x'. */
extern unsigned long Exp2 ARGS((register cardinal x));
/* Returns 2 to the power of 'x'. */
extern short yyMaxAlign;
extern long yyAlignMasks [];
# endif